package test;

import java.text.DateFormat;
import java.text.SimpleDateFormat;

public class Date {

	public static void main(String[] args) {
		DateFormat date = new SimpleDateFormat("yyyy/MM/dd");

		System.out.println(new java.util.Date());
		System.out.println(new java.sql.Date(20141212));
		System.out.println(date.format(new java.util.Date()));
	}

}
